#coding=utf-8
from django.contrib import admin
from comment.models import *
    
class CommentAdmin(admin.ModelAdmin):
    list_display            = ('title', 'referTo', 'author', 'content', 'publishDate')
    list_filter             = ('author',)
    list_per_page           = 25
    list_select_related     = True
    date_hierarchy          = 'publishDate'

admin.site.register(Comment, CommentAdmin)